package com.zhu.shop.app.feign;

import com.zhu.shop.common.Vo.Result;
import com.zhu.shop.common.Vo.goods.GoodsVo;
import com.zhu.shop.common.Vo.order.OrderParams;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("shop-goods")
public interface ShopGoodsFeign {
    @GetMapping("/goods/findGoods/{id}")
    public Result<GoodsVo> findGoodsById(@PathVariable("id")Long id);

}
